package com.icinfo.cloud.provider.punish.api.service;

import com.icinfo.cloud.provider.punish.api.dto.ApiSimpleCaseDetailInfoDto;
import com.icinfo.cloud.provider.punish.api.dto.ApiSimpleCaseTemporaryCacheDto;
import com.icinfo.cloud.provider.punish.api.vo.ApiSimpleCaseDetailInfoVo;
import com.icinfo.framework.common.web.Result;

/**
 * 描述：简易处罚应用服务接口
 *
 * @author xiangyuyu
 * @date 2022/8/11
 * @since 1.3.2
 */
public interface IApiSimpleCaseService {
    /**
     * 【V1.3.2】描述：api-简易处罚信息缓存
     *
     * @param dto {@link ApiSimpleCaseTemporaryCacheDto}
     * @return Result<String> 缓存结果
     * @author xiangyuyu
     * @date 2022/8/11
     * @since 1.3.2
     */
    Result<String> simpleCaseTemporaryCache(ApiSimpleCaseTemporaryCacheDto dto);


    /**
     * 【V1.3.2】描述：获取简易处罚案件详情
     *
     * @param dto {@link ApiSimpleCaseDetailInfoDto}
     * @return Result<ApiSimpleCaseDetailInfoVo> 简易处罚案件详情
     * @author xiangyuyu
     * @date 2022/8/11
     * @since 1.3.2
     */
    ApiSimpleCaseDetailInfoVo getSimpleCaseDetailInfo(ApiSimpleCaseDetailInfoDto dto);
}
